package com.platform.common.authentication.entity.enums;

import lombok.AllArgsConstructor;

/**
 * @description: 系统Redis枚举
 * @author: WangYang
 * @date: 2017-11-02 20:01
 */
@AllArgsConstructor
public enum UserTokenRedisEnum {

    TOKEN_ACCESS_KEY("user:{0}:token:access", "访问凭证Redis主键"),
    TOKEN_REFRESH_KEY("user:{0}:token:refresh", "刷新凭证Redis主键");

    private String code;

    private String description;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
